package handler

type Base struct {
}

const MSG_SUCCESS = "操作成功"
const MSG_FAILURE = "操作失败"
const CODE_SUCCESS = 0
const CODE_FAILURE = 500

/*func (b *Base) ResponseCode(res map[string]interface{}) gin.H {

	data := gin.H{"msg": res["msg"], "data": res["data"]}
	return data
}*/
